[DNM][AST] Keep track of an "isDerivableFromSwiftType" bit for Clang types.#29349
[DNM][AST] Keep track of an "isDerivableFromSwiftType" bit for Clang types.#29349varungandhi-apple wants to merge 1 commit intoswiftlang:masterfrom varungandhi-apple:vg-save-derivable-bit-for-clang-type
Conversation
|
@swift-ci please test |
|
@swift-ci please test source compatibility |
|
Build failed |
|
@swift-ci please clean test |
|
There's some other breakage because of the SIL stuff, marking this as DNM right now. |
|
Build failed |
|
The behavior for marking something "isDerivable" in this PR is not correct. Arguably, "isDerivable" is the wrong name altogether. We do not want the mangling for existing code to change. However, since multiple C types are mapped to the same Swift type, some function types like |
|
I've opened #34057 with a more recent version of these changes, so I'm closing this PR. |
I wasn't sure what to name the type, so I've named it
ClangTypeWrapperfor now.Probably clean up the PR a little bit tomorrow but I figured I should put it up sooner rather than later for feedback and testing.